﻿Global.namespace("System.Core.Handler");
System.Core.Handler.LogHandler=function(){
    this.createWriter();
};
System.Core.Handler.LogHandler.prototype={
    output:null,
    createWriter:function(){
        this.output=new System.Core.Handler.HtmlLogWriter();
    },
    write:function(type,message){
        if(!this.output){ return;}
        this.output.write(type, message);
    },
    info:function(message){
        this.write(System.Core.Enum.LogMessageType.info,message);
    },
    error:function(message){
        this.write(System.Core.Enum.LogMessageType.error,message);
    }
};

var logger= new System.Core.Handler.LogHandler();
